home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / flho0020.zip / SOMOBJ.IN_ / SOMENV.CMD < prev    next >
OS/2 REXX Batch file  |  1994-10-20  |  2KB  |  46 lines

  1. @rem @(#) somc/somenv.cmd 2.9 9/15/94 10:46:08 [10/20/94 10:47:24]
  2.  
  3. @echo off
  4.  
  5. @rem COMPONENT_NAME: some
  6. @rem
  7. @rem ORIGINS: 27
  8. @rem
  9. @rem
  10. @rem 10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  11. @rem All Rights Reserved
  12. @rem Licensed Materials - Property of IBM
  13. @rem US Government Users Restricted Rights - Use, duplication or
  14. @rem disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  15.  
  16. rem -- Uncomment and customize the following line for your file system.
  17. rem -- set SOMBASE=C:\som
  18. rem -- Once you have set SOMBASE you can delete the following line:
  19.  
  20. if "%SOMBASE%" == "" goto firstime
  21.  
  22. rem -- If you have not already customised your CONFIG.SYS file during the
  23. rem -- installation process, you must at least change the LIBPATH variable
  24. rem -- to pick up SOMobjects DLL's.
  25. rem -- %SOMBASE%\lib; should be put at the beginning of the LIBPATH, to
  26. rem -- permit OS/2 and the Workplace Shell to pick up the new SOM DLL.
  27. rem -- For example: LIBPATH=%SOMBASE%\lib;%LIBPATH%
  28.  
  29. rem -- SOMIR enviroment variable is set in the CONFIG.SYS file.
  30. rem -- Update CONFIG.SYS as required.
  31. rem -- The created/updated IR is always the last file mentioned in the SOMIR
  32. rem -- list.  IR searches always begin at the front of the list.
  33.  
  34. set SMINCLUDE=.;%SOMBASE%\include;
  35. set SMTMP=%SOMBASE%\tmp
  36. set PATH=%SOMBASE%\bin;%PATH%
  37. set INCLUDE=.;%SOMBASE%\include;%INCLUDE%
  38. set DPATH=%SOMBASE%\msg;%DPATH%
  39. set LIB=.;%SOMBASE%\lib;%LIB%
  40. goto end
  41.  
  42. :firstime
  43. echo Edit SOMENV.CMD to set SOMBASE.
  44.  
  45. :end
  46.